package com.zrrd.io.byteStream;

import java.io.FileNotFoundException;
import java.io.FileOutputStream;
import java.io.IOException;

/**
 * @author WanJl
 * @version 1.0
 * @title FileOutputStreamDemo04
 * @description
 * @create 2023/9/23 17:18
 */
public class FileOutputStreamDemo04 {
    public static void main(String[] args) {
        FileOutputStream out=null;
        try {
            out = new FileOutputStream("D:/wanjl.txt");
        } catch (FileNotFoundException e) {
            e.printStackTrace();
        }finally {
            try {
                out.close();
            } catch (IOException e) {
                e.printStackTrace();
            }
        }
    }
}
